﻿<%@ Page Language="C#" %>

<%@ Import Namespace="wojilu" %>
<%@ Import Namespace="wojilu.View" %>
<%@ Import Namespace="wojilu.Apps.Qycms.Domain" %>
<%@ Import Namespace="wojilu.Apps.Qycms.Service" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>#{softtitle}</title>
<link href="#{path.css}ybb/css/baselist.css?v=#{cssVersion}" rel="stylesheet" type="text/css" />
<link href="#{path.css}ybb/css/all.css?v=#{cssVersion}" rel="stylesheet" type="text/css" />
<link href="#{path.css}ybb/css/formdiv.css?v=#{cssVersion}" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="#{path.js}ybb/js/jquery.js?v=#{jsVersion}"></script>
<script type="text/javascript" src="#{path.js}ybb/js/control.js?v=#{jsVersion}"></script>
<script type="text/javascript">

    var resizewindow = null;

    window.onresize = function () {
        var h = $(window).height();
        if (resizewindow != h) {
            sizewindow();
            resizewindow = h;
        }
    }

    function sizewindow() {
        var h = $(window).height();
        $('#mainwindowhidden').css({ height: h - 40 });
    }
    var filemanage_js_upfile_zoomsize = '_{filemanage_js_upfile_zoomsize}';
    var filemanage_js_upfile_driname_err = '_{filemanage_js_upfile_driname_err}';
    var filemanage_js_upfile_ok = '_{filemanage_js_upfile_ok}';
    var filemanage_js_upfile_no = '_{filemanage_js_upfile_no}';
    var iframename = "#{iframename}";
    iframename = iframename == '' ? "jerichotabiframe_0" : iframename;
    $(window).load(function () {
        var h = '#{iframeheightwindow}';
        $('#mainwindowhidden').css({ height: h - 40 });
        parent.scrolclear();
    });

    function saveResponse(options) {
        if (options == 'true') {
            alert(filemanage_js_upfile_ok);
        } else {
            alert(options);
        }
    }
    document.oncontextmenu = new Function('event.returnValue=false;');
    document.onselectstart = new Function('event.returnValue=false;');
</script>
<!--[if IE 6]>
<style type="text/css" media="screen">
body { behavior:url("css/csshover.htc");}
</style>
<![endif]-->
</head>
<body class="bodyflow">
<div class="centerrightwindow" id="swfupload-control">
	<div id="mainwindowhidden">
		<div class="suggestion">
			<span class="sugicon"><span class="strong colorgorning2">_{position_title}</span><span class="padding-left5 colorgorningage">_{filemanage_file_upfile_type_mess}#{filetypes}，_{filemanage_file_upfile_dirname_mess}#{MaxFile2}，_{filemanage_file_upfile_maxfile_mess}100 个</span></span>
		</div>
		<div class="sugtitle-line"></div>
		<div style="margin:0 auto; text-align:center;"><iframe id="frm_upload" src="<%=link.to(new wojilu.Web.Controller.Admin.Qycms.ArticleController().BatchUpFile) %>?mid=#{mid}&tid=#{tid}" width="510" height="345" scrolling="no" frameborder="0"></iframe></div>
	</div>
	<div id="downbotton">
		<div id="subbotton">
			<table border="0" width="100%">
				<tr id="bottonsubmit">
					<td id="center">
						<table border="0" style="margin: 0 auto;">
							<tr>
								<td><input type="reset" name="reset" onclick="javascript: parent.onaletdoc();" id="release" value="_{botton_add_reset}" class="buttonface"  title="_{botton_add_reset}" /></td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</div>
	</div>
</div>
</body>
</html>